import Mock from 'mockjs'

var dirListTree = Mock.mock({
    url: 'api/school/book/dir/listTree',
    enable: true,
    data:{
	"code": 200,
	"msg": "成功",
	"data": [
		{
			"id": 73,
			"dirId": 14,
			"dirPid": 0,
			"text": "第一章 数与式",
			"pageIds": "8",
			"child": [
				{
					"id": 75,
					"dirId": 25,
					"dirPid": 14,
					"text": "第一节 实数",
					"pageIds": "8",
					"child": []
				},
				{
					"id": 78,
					"dirId": 26,
					"dirPid": 14,
					"text": "第二节 整式及因式分解",
					"pageIds": "12",
					"child": []
				},
				{
					"id": 79,
					"dirId": 27,
					"dirPid": 14,
					"text": "第三节 分式",
					"pageIds": "14",
					"child": []
				}
			]
		},
		{
			"id": 76,
			"dirId": 21,
			"dirPid": 0,
			"text": "第二章 方程（组）与不等式（组）",
			"pageIds": "16",
			"child": [
				{
					"id": 74,
					"dirId": 23,
					"dirPid": 21,
					"text": "第一节 一次方程（组）",
					"pageIds": "16",
					"child": []
				},
				{
					"id": 77,
					"dirId": 24,
					"dirPid": 21,
					"text": "第二节 一元二次方程",
					"pageIds": "18",
					"child": []
				},
				{
					"id": 80,
					"dirId": 28,
					"dirPid": 21,
					"text": "第三节 分式方程",
					"pageIds": "20",
					"child": []
				},
				{
					"id": 81,
					"dirId": 29,
					"dirPid": 21,
					"text": "第四节 一次不等式（组）",
					"pageIds": "22",
					"child": []
				}
			]
		}
	]
}
}
)


export default [
    dirListTree
]